package com.linrui.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.linrui.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrui
 * @since 2022-10-25
 */
public class ReceivablesItem extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private Long contractId;
    private Long customerId;
    private String customerName;
    private Long productId;
    private String productName;
    private BigDecimal price;
    /**
     * 现金  支付宝 微信
     */
    private Long paymethodId;
    private Date payTime;
    /**
     * 每期最后应付时间
     */
    private Date lastShouldPayTime;
    private Long receivablesId;
    /**
     * 待收   已收
     */
    private Integer state;
    /**
     * 收款人
     */
    private Long payee;
    private String payeeName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getPaymethodId() {
        return paymethodId;
    }

    public void setPaymethodId(Long paymethodId) {
        this.paymethodId = paymethodId;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getLastShouldPayTime() {
        return lastShouldPayTime;
    }

    public void setLastShouldPayTime(Date lastShouldPayTime) {
        this.lastShouldPayTime = lastShouldPayTime;
    }

    public Long getReceivablesId() {
        return receivablesId;
    }

    public void setReceivablesId(Long receivablesId) {
        this.receivablesId = receivablesId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getPayee() {
        return payee;
    }

    public void setPayee(Long payee) {
        this.payee = payee;
    }

    public String getPayeeName() {
        return payeeName;
    }

    public void setPayeeName(String payeeName) {
        this.payeeName = payeeName;
    }

    @Override
    public String toString() {
        return "ReceivablesItem{" +
        ", id=" + id +
        ", name=" + name +
        ", contractId=" + contractId +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", productId=" + productId +
        ", productName=" + productName +
        ", price=" + price +
        ", paymethodId=" + paymethodId +
        ", payTime=" + payTime +
        ", lastShouldPayTime=" + lastShouldPayTime +
        ", receivablesId=" + receivablesId +
        ", state=" + state +
        ", payee=" + payee +
        ", payeeName=" + payeeName +
        "}";
    }
}
